<template>
  <sky-base-page :api-obj="qly.api.user.xy" ref="skyBasePageRef" type="data"
                 padding="24rpx" :params="params" bg-page-color="#fff" :auto-load="false">
    <template #default="{dataInfo}">
      <rich-text :nodes="dataInfo.content"/>

    </template>
  </sky-base-page>
</template>
<script setup>

const skyBasePageRef = ref()

const params = ref({
  content: ''
})
const getAgreement = async () => {
  await nextTick()
  skyBasePageRef.value.refresh()

}
onLoad((options) => {
  console.log('options', options)
  params.value.content = options.content
  console.log('params.value',params.value)
  getAgreement()
})
</script>
<style scoped lang="scss">

</style>